<template>
  <div class="nav-bar">
      <img src="../assets/img/ic_back.png" alt="">
      {{title}}
  </div>
</template>

<script>
export default {
    data(){
        return{
            
        }
    },
    props:[
        'title'
    ]
}
</script>

<style scoped lang="scss">
.nav-bar{
    width:100%;
    height:0.4rem;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size:0.18rem;
    background-color: #405f80;
    color:white;
    img{
        width:0.18rem;
        height:0.18rem;
        position:absolute;
        left:0.14rem;
    }
}
</style>

